/******************************************************************************
COPYRIGHT 2012   : ATECH
Project          : 
Source File Name : lin1Appl.h
Group            : SoftWare Team
Author           : 
Date First Issued: 09/10/2012
********************************Documentation**********************************
Purpose -  This file is 
********************************RevisionHistory********************************
_______________________________________________________________________________
Date : MM/DD/YY    Release        Changes Description                  Author
Date : 09/10/2012    1.0                                                 
   
******************************************************************************/

#ifndef lin1Appl_h
#define lin1Appl_h



/* #include */
#include "system.h"
#include "Slave_lin1_syst.h"

#if 0    //8M
  #define BRATE_9600        (0x34)   /* value of SCIBRR */
  #define BRATE_10400       (0x30)   /* 8,000,000 / 16 / 10400 */
  #define BRATE_19200       (0x1A)
  #define BRATE_38400       (0x0D) 
#endif

#if 1   //16M
  #define BRATE_9600        (0x68)   /* value of SCIBRR */
  #define BRATE_10400       (0x60)   /* 16,000,000 / 16 / 10400 */ 
  #define BRATE_19200       (0x34)
  #define BRATE_38400       (0x1A) 
#endif

/* #define */
/* Function prototypes */
void  Comm_lin1_vInit(l_u8 baud);
void  Comm_lin1_vHandler10ms(void);
void  lin1_hook_vEXTI(void);

#endif



/**********************end of lin1Appl.h***************************************/

/******************************************************************************
 Revision Notes:

For each change to this file, be sure to record:
1. Who made the change and when the change was made.
2. Why the change was made and the intended result.

  Date     By     Reason For Change
mm/dd/yy  XXX     -----------------

******************************************************************************/
